import { NavLink } from "react-router-dom"
import RouterView from "./router"
export default function App() {
  return (
    <div>
        <NavLink to={'/home'}>首页</NavLink> |
        <NavLink to={'/about'}>关于</NavLink> |
        <NavLink to={'/cart'}>购物车</NavLink> 
        <RouterView></RouterView>
    </div>
  )
}
